package beans;

public class YearBookPriority {
    String nian_jian_bian_ma="";
    String nian_jian_name="";
    String nian_jian_nian_fen="";
    String guo_jia="";
    String sheng_fen="";
    String shi="";
    String xian="";
    String new_year="";


    public YearBookPriority(String nian_jian_bian_ma, String nian_jian_name, String nian_jian_nian_fen, String guo_jia, String sheng_fen, String shi, String xian, String new_year) {
        this.nian_jian_bian_ma = nian_jian_bian_ma;
        this.nian_jian_name = nian_jian_name;
        this.nian_jian_nian_fen = nian_jian_nian_fen;
        this.guo_jia = guo_jia;
        this.sheng_fen = sheng_fen;
        this.shi = shi;
        this.xian = xian;
        this.new_year = new_year;
    }

    @Override
    public String toString() {
        return nian_jian_bian_ma+"\t"+
                nian_jian_name+"\t"+
                nian_jian_nian_fen+"\t"+
                guo_jia+"\t"+
                sheng_fen+"\t"+
                shi+"\t"+
                xian+"\t"+
                new_year+"\n";
    }
}
